using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Diagnostics;

namespace CMSWeb
{
	public class MyHandler : IHttpHandler
	{
		#region IHttpHandler Members

		public bool IsReusable
		{
			get { return true; }
		}

		public void ProcessRequest(HttpContext context)
		{
			ASP.sitemap_aspx page = new ASP.sitemap_aspx();

			page.MasterPageFile = "~/default.master";
			try
			{
				page.ProcessRequest(context);
			}
			catch ( Exception ex )
			{
				Debug.WriteLine(ex.Message);
			}
		}

		#endregion
	}
}
